Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 4 - Advanced Printing Features / Advanced Printing Features Reference
Functions / Working With Paper Types


GXCopyPaperType

You can use the GXCopyPaperType function to copy paper-type object data from one paper-type object to another paper-type object.

gxPaperType GXCopyPaperType (gxPaperType srcPaperType,
                           gxPaperType dstPaperType);
srcPaperType
A reference to the paper-type object whose data you want to copy.
dstPaperType
A reference to the paper-type object in which to copy the data.
function result
Reference to a paper-type object.
DESCRIPTION
The GXCopyPaperType function copies the contents of the paper-type object referred to in the srcPaperType parameter to the paper-type object referred to in the dstPaperType parameter. Each component of the paper-type object is copied. You must specify valid paper types in both the srcPaperType and dstPaperType parameters.

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found, or there was not enough memory to load it.
gxPaperTypeNotFoundThe paper-type object cannot be located.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help